package com.lingshu.app.database.bean;

import androidx.room.Entity;
import androidx.room.Ignore;
import androidx.room.PrimaryKey;

/**
 * @author 于定金
 * @version 1.0
 * @Date 2023/12/27 14:09
 * @Description
 */
@Entity(tableName = "images")
public class ImageBean {
    @PrimaryKey
    private int uid;
    private String url;
    private String urlBase;
    private String copyright;
    private String copyrightLink;
    private String title;

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrlBase() {
        return urlBase;
    }

    public void setUrlBase(String urlbase) {
        this.urlBase = urlbase;
    }

    public String getCopyright() {
        return copyright;
    }

    public void setCopyright(String copyright) {
        this.copyright = copyright;
    }

    public String getCopyrightLink() {
        return copyrightLink;
    }

    public void setCopyrightLink(String copyrightLink) {
        this.copyrightLink = copyrightLink;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public ImageBean() {
    }

    @Ignore
    public ImageBean(int uid, String url, String urlBase, String copyright, String copyrightLink, String title) {
        this.uid = uid;
        this.url = url;
        this.urlBase = urlBase;
        this.copyright = copyright;
        this.copyrightLink = copyrightLink;
        this.title = title;
    }
}
